*{
    margin: 0;
    padding: 0;
}
.wrapper{
    position: relative;
    width: 600px;
    margin: 0px auto;
    
}
/* 标题区 */
.header{
    background-color: #fff;
    padding: 10px 0px;
    padding-left: 20px;
    text-align: center;
    color: #00bfff;
}
.header h4::before{
    content: "<";
    position: absolute;
    left: 10px;
    font-size: 26px;
}
.header p{
    line-height:16px;
    font-size: 4px;
   
}
/* 内容区 */
.content{
    height: calc(100% - 106px);
    background-color: #fbfbfb;
    overflow-y: scroll;
    overflow-x: hidden;
}
.content::after{
    content: "";
    display: block;
    clear: both;
}
/* 头像 + 对话框*/
 .image{
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
.text{
    padding: 5px;
    border-radius: 15px;
    max-width:300px ;
    min-width:30px
}
/* 我 */
.mine{
    position: relative;
    float: right;
    width: 350px;
    margin: 10px;
}
.mine .image{
    float: right;
}
.mine .text{
    float: right;
    background-color: pink;
    margin-right: 10px;
}
.mine .text::after{
    position: absolute;
    right: 25px;
    top: 5px;
    content: "";
    width: 0px;
    height: 0px;
    border: 10px solid transparent;
    border-left-color: pink;
}
/* 小丁 */
.robot{
    float: left;
    width: 350px;
    position: relative;
}
.robot .image{
    float: left;
}
.robot .text{
    float: left;
    background-color: pink;
    margin-left: 10px;
   
}
.robot .text::before{
    position: absolute;
    left: 25px;
    top: 5px;
    content: "";
    width: 0px;
    height: 0px;
    border: 10px solid transparent;
    border-right-color: pink;
}
/* 输入框 */
.inp{
    position: fixed;
    bottom: 0px;
    width: 580px;
    background-color: #eff1f1;
    padding: 10px;
    text-align: center;
}
.inp .inp-text{
    height: 30px;
    width: 500px;
    border: none;
    border-radius: 10px;
    outline: none;
}
.inp .inp-btn{
    height: 30px;
    width: 50px;
    background-color: #e2e1e1;
    border-radius: 10px;
    border: none;
    outline: none;
    cursor: pointer;
}
.inp .inp-btn:hover{
    background-color: rgb(104, 101, 101);
    color: white;
}
 